package com.sm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/admin")
public class PersonnelController {

    /**
     * @return 返回考勤管理的视图
     */
    @RequestMapping("/attendance")
    public String attendance(){
        return "admin/personnel/attendance";
    }

    /**
     * @return 返回奖金福利的视图
     */
    @RequestMapping("/welfare")
    public String welfare(){
        return "admin/personnel/welfare";
    }

    /**
     * @return 返回工资管理的视图
     */
    @RequestMapping("/wages")
    public String wages(){
        return "admin/personnel/wages";
    }

    /**
     * @return 返回入职培训的视图
     */
    @RequestMapping("/person")
    public String personnel(){
        return "admin/personnel/person";
    }
}
